-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toolbar Simplification #6290
Toolbar Simplification #6290
Conversation
@miq-bot add_label formatting/styling, ivanchuk/no |
@miq-bot assign @martinpovolny |
@@ -2,7 +2,7 @@ class ApplicationHelper::Toolbar::AnsibleCredentialCenter < ApplicationHelper::T | |||
button_group('ansible_repository', [ | |||
select( | |||
:ansible_credential_configuration, | |||
'fa fa-cog fa-lg', | |||
'', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather go with nil
instead of allocating an empty string each time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skateman Updated
Checked commits https://github.com/epwinchell/manageiq-ui-classic/compare/28ae9ba3a50c24802eb70bab6a2243fb9d7a3119~...36ef4978a7e413666db87af72f0dd143a8b61c65 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0 |
@epwinchell Didn't quite catch all of them it seems ;) (I disagree with this in #5937 (comment), but if we're going that way, I guess we should remove all of them?) |
This should help finding the rest (not claiming all of those are relevant, this is only a list of all icons mentioned at the right indent level after a
(courtesy of |
@himdel the download button intentionally has an icon as it doesn't have text, the rest should go. |
My last comment was under the assumption that we only want to remove icons from first-level dropdowns. |
@himdel We're only dealing with first-level dropdowns for this issue. |
This PR removes all top level icons when text is also present, with the exception of custom button groups.
Old
New
follow-up to: #5997
Issue: #5937